﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020008EF RID: 2287
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class HeliobusSelectSkillCsReq : IMessage<HeliobusSelectSkillCsReq>, IMessage, IEquatable<HeliobusSelectSkillCsReq>, IDeepCloneable<HeliobusSelectSkillCsReq>, IBufferMessage
	{
		// Token: 0x17001CEF RID: 7407
		// (get) Token: 0x0600667C RID: 26236 RVA: 0x001134C4 File Offset: 0x001116C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<HeliobusSelectSkillCsReq> Parser
		{
			get
			{
				return HeliobusSelectSkillCsReq._parser;
			}
		}

		// Token: 0x17001CF0 RID: 7408
		// (get) Token: 0x0600667D RID: 26237 RVA: 0x001134CB File Offset: 0x001116CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return HeliobusSelectSkillCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001CF1 RID: 7409
		// (get) Token: 0x0600667E RID: 26238 RVA: 0x001134DD File Offset: 0x001116DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return HeliobusSelectSkillCsReq.Descriptor;
			}
		}

		// Token: 0x0600667F RID: 26239 RVA: 0x001134E4 File Offset: 0x001116E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusSelectSkillCsReq()
		{
		}

		// Token: 0x06006680 RID: 26240 RVA: 0x001134EC File Offset: 0x001116EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusSelectSkillCsReq(HeliobusSelectSkillCsReq other) : this()
		{
			this.skillId_ = other.skillId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006681 RID: 26241 RVA: 0x00113511 File Offset: 0x00111711
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusSelectSkillCsReq Clone()
		{
			return new HeliobusSelectSkillCsReq(this);
		}

		// Token: 0x17001CF2 RID: 7410
		// (get) Token: 0x06006682 RID: 26242 RVA: 0x00113519 File Offset: 0x00111719
		// (set) Token: 0x06006683 RID: 26243 RVA: 0x00113521 File Offset: 0x00111721
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SkillId
		{
			get
			{
				return this.skillId_;
			}
			set
			{
				this.skillId_ = value;
			}
		}

		// Token: 0x06006684 RID: 26244 RVA: 0x0011352A File Offset: 0x0011172A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as HeliobusSelectSkillCsReq);
		}

		// Token: 0x06006685 RID: 26245 RVA: 0x00113538 File Offset: 0x00111738
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(HeliobusSelectSkillCsReq other)
		{
			return other != null && (other == this || (this.SkillId == other.SkillId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006686 RID: 26246 RVA: 0x00113568 File Offset: 0x00111768
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.SkillId != 0U)
			{
				num ^= this.SkillId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006687 RID: 26247 RVA: 0x001135A7 File Offset: 0x001117A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006688 RID: 26248 RVA: 0x001135AF File Offset: 0x001117AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006689 RID: 26249 RVA: 0x001135B8 File Offset: 0x001117B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.SkillId != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.SkillId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600668A RID: 26250 RVA: 0x001135EC File Offset: 0x001117EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.SkillId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SkillId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600668B RID: 26251 RVA: 0x0011362A File Offset: 0x0011182A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(HeliobusSelectSkillCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.SkillId != 0U)
			{
				this.SkillId = other.SkillId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600668C RID: 26252 RVA: 0x0011365B File Offset: 0x0011185B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600668D RID: 26253 RVA: 0x00113664 File Offset: 0x00111864
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 112U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.SkillId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002734 RID: 10036
		private static readonly MessageParser<HeliobusSelectSkillCsReq> _parser = new MessageParser<HeliobusSelectSkillCsReq>(() => new HeliobusSelectSkillCsReq());

		// Token: 0x04002735 RID: 10037
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002736 RID: 10038
		public const int SkillIdFieldNumber = 14;

		// Token: 0x04002737 RID: 10039
		private uint skillId_;
	}
}
